const TokenKey = "token"

/**
 * 获取本地存储的 token
 */
export const getToken = () => localStorage.getItem(TokenKey)

/**
 * 将 token 保存到本地存储
 * @param token
 */
export const setToken = token => localStorage.setItem(TokenKey, token)

/**
 * 移除本都存储的 token
 */
export const removeToken = () => localStorage.removeItem(TokenKey)
